<?xml version="1.0" encoding="UTF-8" ?>
<%@ taglib prefix = "c" uri = "http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
</head>
<body>
		<%@ include file="/header.jsp" %>
		</c:import>
<-- Public holiday collection is planned bean to be created.-->
		<jsp:useBean id="publicHolidayCollection" scope="page" class="java.util.ArrayList"/>
		<div>	
			<h2> Upcoming Public Holidays </h2>
	
			<table>
	    			<tr>
	      				<th>Date</th>
	      				<th>Description</th>
	   			</tr>

	    			<c:forEach var="publicHoliday" items="${publicHolidayCollection}">
					<tr>
		      				<td>${publicHoliday.date}</td>
		      				<td>${publicHoliday.description}</td>
		    			</tr>
				</c:forEach>
			</table>
		</div>
</body>
</html>